package com.micromall.model;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 购物车表
 * </p>
 *
 * @author Dante Fung
 * @since 2017-07-26
 */
@TableName("BUSI_CART")
public class BusiCart extends Model<BusiCart> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("ID")
	private String id;
    /**
     * 合计（总价）
     */
	@TableField("TOTAL_AMOUNT")
	private String totalAmount;
    /**
     * 创建时间格式:yyyy-MM-dd HH:mm:ss
     */
	@TableField("CREATE_TIME")
	private String createTime;
    /**
     * 更新人
     */
	@TableField("UPDATOR")
	private String updator;
    /**
     * 产品描述
     */
	@TableField("PROD_DESC")
	private String prodDesc;
    /**
     * 会员编号
     */
	@TableField("MEMBER_NO")
	private String memberNo;
    /**
     * 备用字段2
     */
	@TableField("STANDBY2")
	private String standby2;
    /**
     * 产品表外键
     */
	@TableField("PROD_ID")
	private String prodId;
    /**
     * 数据状态:Y:有效N:无效
     */
	@TableField("DATA_STATUS")
	private String dataStatus;
    /**
     * 备注
     */
	@TableField("MEMO")
	private String memo;
    /**
     * 创建人
     */
	@TableField("CREATOR")
	private String creator;
    /**
     * 备用字段3
     */
	@TableField("STANDBY3")
	private String standby3;
    /**
     * 备用字段4
     */
	@TableField("STANDBY4")
	private String standby4;
    /**
     * 更新时间
     */
	@TableField("UPDATE_TIME")
	private String updateTime;
    /**
     * 备用字段1
     */
	@TableField("STANDBY1")
	private String standby1;
    /**
     * 数据来源:默认system
     */
	@TableField("DATA_FROM")
	private String dataFrom;
    /**
     * 产品图片相对地址
     */
	@TableField("IMG_URL")
	private String imgUrl;
    /**
     * 备用字段5
     */
	@TableField("STANDBY5")
	private String standby5;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(String totalAmount) {
		this.totalAmount = totalAmount;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getUpdator() {
		return updator;
	}

	public void setUpdator(String updator) {
		this.updator = updator;
	}

	public String getProdDesc() {
		return prodDesc;
	}

	public void setProdDesc(String prodDesc) {
		this.prodDesc = prodDesc;
	}

	public String getMemberNo() {
		return memberNo;
	}

	public void setMemberNo(String memberNo) {
		this.memberNo = memberNo;
	}

	public String getStandby2() {
		return standby2;
	}

	public void setStandby2(String standby2) {
		this.standby2 = standby2;
	}

	public String getProdId() {
		return prodId;
	}

	public void setProdId(String prodId) {
		this.prodId = prodId;
	}

	public String getDataStatus() {
		return dataStatus;
	}

	public void setDataStatus(String dataStatus) {
		this.dataStatus = dataStatus;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public String getStandby3() {
		return standby3;
	}

	public void setStandby3(String standby3) {
		this.standby3 = standby3;
	}

	public String getStandby4() {
		return standby4;
	}

	public void setStandby4(String standby4) {
		this.standby4 = standby4;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public String getStandby1() {
		return standby1;
	}

	public void setStandby1(String standby1) {
		this.standby1 = standby1;
	}

	public String getDataFrom() {
		return dataFrom;
	}

	public void setDataFrom(String dataFrom) {
		this.dataFrom = dataFrom;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public String getStandby5() {
		return standby5;
	}

	public void setStandby5(String standby5) {
		this.standby5 = standby5;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "BusiCart{" +
				"id='" + id + '\'' +
				", totalAmount='" + totalAmount + '\'' +
				", createTime='" + createTime + '\'' +
				", updator='" + updator + '\'' +
				", prodDesc='" + prodDesc + '\'' +
				", memberNo='" + memberNo + '\'' +
				", standby2='" + standby2 + '\'' +
				", prodId='" + prodId + '\'' +
				", dataStatus='" + dataStatus + '\'' +
				", memo='" + memo + '\'' +
				", creator='" + creator + '\'' +
				", standby3='" + standby3 + '\'' +
				", standby4='" + standby4 + '\'' +
				", updateTime='" + updateTime + '\'' +
				", standby1='" + standby1 + '\'' +
				", dataFrom='" + dataFrom + '\'' +
				", imgUrl='" + imgUrl + '\'' +
				", standby5='" + standby5 + '\'' +
				'}';
	}
}
